<%--
  Created by IntelliJ IDEA.
  User: 周欣
  Date: 2021/5/29
  Time: 20:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>EL表达式的输出顺序</title>
</head>
<body>
    <%
        //往四个域中都保存了相同的 key 的数据。
        request.setAttribute("key", "request");
        session.setAttribute("key", "session");
        application.setAttribute("key", "application");
        pageContext.setAttribute("key", "pageContext");
    %>
    <%--
        输出优先级最高的那个值
        优先级：pageContent > request > session > application
    --%>
    ${ key }
</body>
</html>
